import type { patientConsultOrderDetailApi, patientConsultPrescriptionApi } from '@/types/room'
import request from '@/utils/request'

// 订单详情
export const patientConsultOrderDetail = (orderId: string) =>
  request<patientConsultOrderDetailApi>('/patient/consult/order/detail', 'get', { orderId })

// 查看处方单
export const patientConsultPrescription = (id: string) =>
  request<patientConsultPrescriptionApi>(`/patient/consult/prescription/${id}`)
